package com.example.demo.BuilderPattern;

import java.util.ArrayList;

/**
 * 奔驰车组装
 */
public class BenzBuilder extends CarBuilder{

    private BenzModel model = new BenzModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.model.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.model;
    }
}
